-- GENERATED SPELL FOR [Dark Iron Bombardier] --


function spell0_4062(pUnit, Event) --@Bomb,n/a--
pUnit:FullCastSpellOnTarget(8858,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4062', 2000, 1)
end

function Sorts_4062(pUnit, Event)
local choix_sorts_4062 = math.random(0, 0)
if choix_sorts_4062 == 0 then
pUnit:RegisterEvent('spell0_4062', 1, 1)
end
end

function mob4062_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4062', math.random(1500, 3000), 1)
end

function mob4062_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4062_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4062_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4062, 1, 'mob4062_Action')
RegisterUnitEvent(4062, 2, 'mob4062_Leave')
RegisterUnitEvent(4062, 3, 'mob4062_Kill')
RegisterUnitEvent(4062, 4, 'mob4062_Die')
